<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML>
 <HEAD>
  <TITLE>jigdo-mirror</TITLE><META NAME="GENERATOR" CONTENT="Modular
  DocBook HTML Stylesheet Version 1.79"></HEAD>
 <BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF"
  VLINK="#840084" ALINK="#0000FF">
  <H1><A NAME="AEN1"></A>jigdo-mirror</H1>
  <DIV><A NAME="AEN14"></A>
   <H2>Name</H2>jigdo-mirror&nbsp;--&nbsp;Maintain a mirror of images
   offered with jigdo</DIV>
  <DIV><A NAME="AEN17"></A>
   <H2>Synopsis</H2>
   <P><B>jigdo-mirror</B> [config-file]</P></DIV>
  <DIV><A NAME="DESCRIPTION"></A>
   <H2>DESCRIPTION</H2>
   <P>See <SPAN><SPAN>jigdo-file</SPAN>(1)</SPAN> for an introduction to
    Jigsaw Download.</P>
   <P><B>jigdo-mirror</B> is a script intended for people who want to offer
    direct HTTP or FTP downloads of files for which only the jigdo and
    template files are available.</P>
   <P>As the first step of using <B>jigdo-mirror</B>, you need to set up
    normal HTTP/FTP/rsync mirroring both of the `<TT>.jigdo</TT>'/`<TT
    >.template</TT>' files and of the parts that are needed for the
    reconstruction of the images. For example, in the case that you want to
    mirror Debian CD images with <B>jigdo-mirror</B>, you need a mirror of
    the `<TT>.jigdo</TT>'/`<TT>.template</TT>' files and a Debian mirror on
    the local machine.</P>
   <P>At regular intervals (preferably immediately after the normal
    mirroring has finished), schedule a run of <B>jigdo-mirror</B>. It will
    search through a given directory for any `<TT>.jigdo</TT>' files and
    attempt to create all images offered by each file.</P>
   <P>The script requires you to set a number of variables - please refer
    to the start of <TT>/usr/bin/jigdo-mirror</TT> for a description of
    each of them. Since <TT>/usr/bin/jigdo-mirror</TT> will be overwritten
    whenever you upgrade <B>jigdo-mirror</B>, it is highly recommended
    <SPAN><I>not</I></SPAN> to change the settings directly in this script.
    Instead, personal settings should be saved in a file called <TT
    >.jigdo-mirror</TT> in your home directory, or in a different file
    whose name is then passed to the script as its first (and only) command
    line argument.</P></DIV>
  <DIV><A NAME="SEEALSO"></A>
   <H2>SEE ALSO</H2>
   <P> <SPAN><SPAN>jigdo-file</SPAN>(1)</SPAN>, <SPAN><SPAN
    >jigdo-lite</SPAN>(1)</SPAN> </P>
   <P>CD images for Debian Linux can be <A
    HREF="http://www.debian.org/CD/jigdo-cd/" TARGET="_top">downloaded with
    jigdo</A>.</P></DIV>
  <DIV><A NAME="AUTHOR"></A>
   <H2>AUTHOR</H2>
   <P><A HREF="http://atterer.net/jigdo/" TARGET="_top">Jigsaw Download</A
    > was written by Richard Atterer <CODE>&#60;<A HREF="mailto:jigdo
    atterer.net">jigdo atterer.net</A>&#62;</CODE>, to make downloading of
    CD ROM images for the Debian Linux distribution more convenient.</P
   ></DIV>
 </BODY>
</HTML>
